package utilities.api.handlers;

import org.json.JSONException;
import org.json.JSONObject;

public class json 
	extends utilities.api.handler
{

	public Object processRequest(Object request) 
	{
		JSONObject json = new JSONObject();
		
		try {
			json.put("json", request);
		} catch (JSONException e) { e.printStackTrace(); }
		
		return json.toString();
	}

	public Object processResponse(Object response) 
	{
		return new JSONObject(response);
	}

}
